var home = avalon.define("home", function(vm) {
	vm.home_my_visible = true;
	vm.home_manger_visible = true;
	vm.home_statistics_visible = true;
	vm.togglePanel = function(){
		var id = this.getAttribute('data-panel');
		$('#' + id).slideToggle();
		vm[id + "_visible"] = !vm[id + "_visible"];
	}
});
avalon.scan();